//
//  CCForumCollectionViewCell.m
//  CwinCar
//
//  Created by dlios on 15/10/19.
//  Copyright © 2015年 dlios. All rights reserved.
//

#import "CCForumCollectionViewCell.h"

@implementation CCForumCollectionViewCell

/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect {
 // Drawing code
 }
 */
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        self.nameLab = [[UILabel alloc]initWithFrame:CGRectMake(mainScreen_Width / 75, 0, mainScreen_Width / 2.678, mainScree_Height / 19.057)];
        self.nameLab.textAlignment = NSTextAlignmentCenter;
        self.nameLab.layer.borderWidth = 1;
        self.nameLab.layer.cornerRadius = 3 * suitableScreen_Width;
        self.nameLab.layer.borderColor = [UIColor lightGrayColor].CGColor;
        self.nameLab.layer.masksToBounds = YES;
        [self.nameLab setFont:[UIFont systemFontOfSize:15]];
        [self.contentView addSubview:self.nameLab];
        self.nameLab.backgroundColor = [UIColor whiteColor];
    }
    return self;
}

@end
